package camid.distribution.protocol;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

public class MethodRequestMessage implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8474825579132468984L;
	
	private String vmId;
	
	private InvocationDescriptor descriptor;
	
	private Map<String, Object> invocationContext;
	
	private Endpoint endpoint;

	public MethodRequestMessage()
	{
		invocationContext = new TreeMap<String,Object> ();
	}
	
	public String getVmId() {
		return vmId;
	}

	public void setVmId(String vmId) {
		this.vmId = vmId;
	}

	public InvocationDescriptor getDescriptor() {
		return descriptor;
	}

	public void setDescriptor(InvocationDescriptor descriptor) {
		this.descriptor = descriptor;
	}

	public Map<String, Object> getInvocationContext() {
		return invocationContext;
	}

	public void setInvocationContext(Map<String, Object> invocationContext) {
		this.invocationContext = invocationContext;
	}

	public Endpoint getEndpoint() {
		return endpoint;
	}

	public void setEndpoint(Endpoint endpoint) {
		this.endpoint = endpoint;
	}
	
	
}
